<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>输入</title>
		<script>
			var a=prompt("请输入一个数字：","1");
			var b=prompt("请输入一个数字：","1");
			alert("a="+a);
			alert("b="+b);
			alert(a+b);
		</script>
	</head>
	<body>
	</body>
</html>
